<#compress>
    <@override name="title">餐桌类型</@override>
    <@override name="viewcss">
    <link href="${ctx}/static/scripts/plugins/bootstrap-modal/css/bootstrap-modal-bs3patch.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/static/scripts/plugins/bootstrap-modal/css/bootstrap-modal.css" rel="stylesheet" type="text/css"/>
    </@override>
    <@override name="viewbody">
    <div class="row">
        <div class="col-md-12">
            <h3 class="page-title">
                餐桌类型
                <small>餐桌类型.</small>
            </h3>
            <ul class="page-breadcrumb breadcrumb">
                <li>
                    <i class="fa fa-home"></i>
                    <a href="${ctx}/admin/home">
                        首页
                    </a>
                    <i class="fa fa-angle-right"></i>
                </li>
                <li>
                    <a href="${ctx}/admin/booking/dining">
                        餐饮品牌
                    </a>
                    <i class="fa fa-angle-right"></i>
                </li>
                <li>
                    <a href="#">${brand.name!}品牌餐饮－市别 </a>
                </li>
            </ul>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="portlet box grey">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-reorder"></i>${brand.name!}的市别
                    </div>
                    <div class="actions">
                        <a href="#" class="btn green btn-sm" id="add_market">
                            <i class="fa fa-plus"></i> 增加
                        </a>
                    </div>
                </div>
                <div class="portlet-body">
                    <div class="row" id="grid_market">
                    </div>
                </div>
            </div>
        </div>

        <div id="category-modal" class="modal fade" tabindex="-1">
        </div>

    </div>
    <script id="item_template" type="text/x-handlebars-template">
        <div class="col-md-4">
            <div class="portlet box green">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-reorder"></i>{{name}}
                    </div>
                    <div class="actions">
                        <a href="#" class="btn green btn-sm edit" data-data="{{id}}" id="edit">
                            <i class="fa fa-edit"></i> 编辑
                        </a>
                        <a href="#" class="btn green btn-sm remove" data-data="{{id}}" id="remove">
                            <i class="fa fa-trash-o"></i> 删除
                        </a>
                    </div>
                </div>

                <div class="portlet-body">
                    <div class="scroller" style="height:120px">
                        <div class="row static-info">
                            <div class="col-md-5 name">
                                名称:
                            </div>
                            <div class="col-md-7 value">
                                {{name}}
                            </div>
                        </div>
                        <div class="row static-info">
                            <div class="col-md-5 name">
                                开始时间:
                            </div>
                            <div class="col-md-7 value">
                                {{begin_time}}
                            </div>
                        </div>
                        <div class="row static-info">
                            <div class="col-md-5 name">
                                结束时间:
                            </div>
                            <div class="col-md-7 value">
                                {{end_time}}
                            </div>
                        </div>
                        <div class="row static-info">
                            <div class="col-md-5 name">
                                状态:
                            </div>
                            <div class="col-md-7 value">
                                {{status_show}}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </script>
    </@override>

    <@override name="viewparams">
    g.brand = '${brand.id!}';
    </@override>
    <@override name="viewmodule">dining_marking</@override>
    <@extends name="../../_basic/main.ftl"></@extends>
</#compress>